import Order from "../../pages/order/index";
import Container from "../../pages/order/container";
import OrderDetail from "../../pages/order/orderDetail";
import Detail from "../../pages/order/Detail";
import GoodsDefault from "../../pages/order/goodsDetail";
import SupplierDetail from "../../pages/order/SupplierDetail";
const order = {
  path: "",
  element: <Container />,
  children: [
    {
      name:'订单管理',
      path: "order",
      element: <Order></Order>
    },
    {
      name:'订单管理',
      path:'order/Detail/:id?',
      element: <Detail></Detail>
    },
    {
      name:'订单管理',
      path:'order/OrderDetail/:id?',
      element: <OrderDetail></OrderDetail>
    },
    {
      name:'订单管理',
      path:'order/goodsDetail/:id?',
      element: <GoodsDefault></GoodsDefault>
    },
    {
      name:'订单管理',
      path:'order/SupplierDetail/:id?',
      element: <SupplierDetail></SupplierDetail>
    }
  ]
};

export default order;